<%@page import="com.neiquan.backstage.pub.bsc.dao.po.PlatformAllianceMember"%>
<%@page import="com.neiquan.backstage.platform_alliance_member.PlatformAllianceMemberService"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@page import="com.neiquan.backstage.common.util.SpringContextUtils"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
Integer memberId = Integer.valueOf(request.getParameter("id"));
ApplicationContext appCtx = SpringContextUtils.getApplicationContext();
PlatformAllianceMemberService allianceMemberService = appCtx.getBean(PlatformAllianceMemberService.class);
PlatformAllianceMember allianceMember = allianceMemberService.queryById(memberId);
pageContext.setAttribute("allianceMember", allianceMember);
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>联盟成员详情</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<link rel="stylesheet" href="css/base.css" />
	<link rel="stylesheet" href="css/main.css" />
</head>
<body bgcolor="#f0f0f0">
	<section class="mt common_bg">
		<section class="pd copyprint-top c">
			<span class="fl copyprint-left">简介</span>
			<section class="copyprint-right copyprint-top-right fr">
				<article class="copyprint-article">${pageScope.allianceMember.desc}</article>
			</section>
		</section>
	</section>
	<section class="mt common_bg">
		<section class="copyprint-bottom pd">
			<section class="c">
				<span class="fl copyprint-left">地址</span>
				<section class="copyprint-right fr">
					<article class="copyprint-article copyprint-addr">${pageScope.allianceMember.addr}</article>
				</section>
			</section>
			<section class="c pt10">
				<span class="fl copyprint-left">联系方式</span>
				<a href="tel:18249535846" class="copyprint-right fr copyprint-article copyprint-tel">${pageScope.allianceMember.phone}</a>
			</section>
			<section class="c pt10"> 
				<span class="fl copyprint-left">入住说明</span>
				<section class="copyprint-right fr">
					<article class="copyprint-article">${pageScope.allianceMember.checkInDesc}</article>
				</section>
				<p class="erweima-p">
					<img src="${pageScope.allianceMember.qrcodeUrl}" />
					<span class="tc saoma block">扫一扫即可关注我哦!</span>
				</p>
			</section>
		</section>
	</section>
</body>
<script src="js/responsive.js"></script>
</html>
